package com.dragon.modules.yuegou.mapper.product;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dragon.modules.yuegou.entity.product.HelpEntity;
import com.dragon.modules.yuegou.model.product.ActivityItem;
import com.dragon.modules.yuegou.model.product.FeaturedItem;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

/**
 * 商品助力活动信息表 Mapper接口
 *
 * @author px
 * @date 2019-04-12 08:49:27
 * @version 2.0
 */
@Component("proHelpMapper")
public interface HelpMapper extends BaseMapper<HelpEntity> {

	/**
	 * 查询精选商品
	 * */
	IPage<FeaturedItem> featuredItems(IPage<FeaturedItem> page, @Param("busdId") String busdId);

	IPage<ActivityItem> activityList(IPage<ActivityItem> page, @Param("merchantId") String merchantId);
	
}
